package com.yunji.common.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yunji.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.message.dto
 * @Title: TestDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-11-05 15:32:35      V1.0        HuaAo       新建类
 */
@Data
public class FeedbackExportVO {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("反馈ID")
    private Long feedbackId;

    @ApiModelProperty("反馈用户ID")
    private Long userId;

    @ApiModelProperty("反馈用户类型")
    private String userType;

    @ApiModelProperty("反馈人姓名")
    @Excel(name = "用户昵称", width = 10)
    private String userName;

    @ApiModelProperty("反馈人手机号")
    @Excel(name = "用户手机号", width = 15)
    private String phoneNumber;

    @ApiModelProperty("货柜Imei")
    @Excel(name = "货柜编码", width = 30)
    private String chipImei;

    @ApiModelProperty("货柜二维码")
    @Excel(name = "货柜二维码", width = 30)
    private String qrcode;

    @ApiModelProperty("货柜ID")
    private Long containerId;

    @ApiModelProperty("货柜名称")
    @Excel(name = "货柜名称", width = 10)
    private String containerName;

    @ApiModelProperty("反馈内容")
    @Excel(name = "故障问题", width = 25)
    private String content;

    @ApiModelProperty("照片")
    @Excel(name = "故障照片", width = 20)
    private String albumPics;

    @ApiModelProperty("网点ID")
    private Long siteId;

    @ApiModelProperty("网点名称")
    @Excel(name = "网点名称", width = 10)
    private String siteName;

    @ApiModelProperty("网点电话")
    @Excel(name = "网点电话", width = 15)
    private String siteTel;

    @ApiModelProperty("代理ID")
    private Long agentId;

    @ApiModelProperty("代理名称")
    @Excel(name = "代理商", width = 10)
    private String agentName;

    @ApiModelProperty("代理电话")
    private String agentTel;

    @ApiModelProperty("反馈状态 0-待处理 1-已处理 2-搁置")
    @Excel(name = "反馈状态", readConverterExp = "0=待处理,1=已处理,2=搁置", width = 10)
    private Integer feedbackStatus;

    @ApiModelProperty("故障类型ID")
    private Long malfunctionId;

    @ApiModelProperty("故障类型")
    @Excel(name = "故障类型", width = 10)
    private String malfunctionName;

    @ApiModelProperty("备注")
    @Excel(name = "备注", width = 10)
    private String remarks;

    @ApiModelProperty("处理时间")
    @Excel(name = "处理时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date dealTime;


    @TableLogic
    private Integer delFlag;
    /**
     * 创建人ID
     */
    @ApiModelProperty("创建人ID")
    private Long creator;

    /**
     * 创建人名称
     */
    @ApiModelProperty("创建人名称")
    private String createName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新人ID
     */
    @ApiModelProperty("更新人ID")
    private Long updater;

    /**
     * 更新人名称
     */
    @ApiModelProperty("更新人名称")
    private String updateName;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateTime;

}